/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package modelo;

/**
 *
 * @author Víctor RM
 */
public class FuncionesPotencia {
    
    public FuncionesPotencia(){
        
    }
    
    public static float xCuadrado(float a){
        return a * a;
    }
    
    public static float xCubico(float a){
        return a * a * a;
    }
    
    public static double xElevadoY(double x, double y){
        return Math.pow(x, y);
    }
    
}
